package com.lancoo.ccas53.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lancoo.ccas53.entity.RuleTimeProhibit;
import com.lancoo.ccas53.pojo.dto.TeacherDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: liufeng
 * @CreateTime: 2024-06-14  09:30
 * @Description:
 */
@Data
@ApiModel("教学规则课信息")
public class TeachingClassWithRuleVo {
    @ApiModelProperty("前端需要唯一标识 以teachingclassweek的id")
    private Long id;
    @ApiModelProperty("教学班id")
    private Long teachingClassId;

    @ApiModelProperty("授课方式")
    private Integer hourType;

    @ApiModelProperty("授课方式")
    private Long roomId;

    @ApiModelProperty("任务id")
    private Integer taskId;

    @ApiModelProperty("教学班名称")
    private String teachingClassName;

    @ApiModelProperty("学院")
    private String baseCollegeId;
    private String collegeName;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("课程代码")
    private String courseCode;

    @ApiModelProperty("课程名称")
    private String courseName;

    @ApiModelProperty("课程类别id")
    private String courseTypeId;

    @ApiModelProperty("课程类别")
    private String courseType;

    @ApiModelProperty("课程性质 1必修  2选修")
    private Integer courseNature;

    @ApiModelProperty("规则 1设置  2未设置")
    private Integer ruleSet;

    @ApiModelProperty("优先")
    private String priorityTimecode = "";

    @ApiModelProperty("禁排")
    private String forbbidenTimecode = "";

    @TableField(exist = false)
    @ApiModelProperty(value = "老师", required = false)
    private List<TeacherDto> teachingClassTeachers = new ArrayList<>();


    @TableField(exist = false)
    @ApiModelProperty("禁排规则")
    private List<RuleTimeProhibit> ruleTimeProhibitList;
}
